package com.kakarote.hrm.entity.VO;

import com.kakarote.core.entity.PageEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
public class EmployeeMiniInfo extends PageEntity {

    private Long eeId;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "机构id")
    private Long orgId;

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "职位")
    private String post;

    @ApiModelProperty(value = "开始工作时间")
    private LocalDateTime entryTime;

    List<EmployeeMiniInfoDetail> orgInfo;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "性别 1 男 2 女")
    private Integer sex;

    @ApiModelProperty(value = "工作地点")
    private String workAddress;

    @ApiModelProperty("用工形式")
    private String workType;

    @ApiModelProperty("在岗状态")
    private String entryStatus;

    @ApiModelProperty(value = "入职时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE)
    private List<LocalDate> entryTimeList;

    @ApiModelProperty(value = "职务")
    private String jobTitle;

    @ApiModelProperty("证件号")
    private String idNumber;

    @ApiModelProperty(value = "转正日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE)
    private List<LocalDate> becomeTime;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty("年龄")
    private List<String> age;

    @ApiModelProperty("外语水平")
    private String languageLevel;

    @ApiModelProperty("专业技术职称")
    private String technicalName;

    @ApiModelProperty("最高学历")
    private Integer highestEducation;

    @ApiModelProperty("职位层级")
    private String postLevel;

    @ApiModelProperty("职称级别")
    private String technicalLevel;

    @ApiModelProperty("专技等级")
    private String specialWorkerLevel;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "教育形式")
    private Integer teachingMethods;
}
